import template from '../template';

class Goods {
  constructor() {

  }

  static getGoodsClasses() {
    return template({
      url: 'goods/class'
    });
  }

  static getGoodsList(classId) {
    return template({
      url: `goods/goods_list?class_id=${classId}`
    });
  }


  static getDetail(id) {
    return template({
      url: `goods/goods?id=${id}`
    })
  }

}

export default Goods;
